package it.polimi.swimv2.remote;

import it.polimi.swimv2.exception.FeedbackException;

import javax.ejb.Remote;

@Remote
public interface FeedbackManagerRemote {

	/**
	 * Send the feedback associated to the specified HelpRequest.
	 * 
	 * @param comment
	 *            String not null.
	 * @param score
	 *            integer 0<score<=10.
	 * @param helpRequestId
	 *            the id of the help request which generates the feedback.
	 * @throws FeedbackException
	 *             when parameters are not correct.
	 */
	public void sendFeedback(String comment, int score, Integer helpRequestId)
			throws FeedbackException;
}
